/*

*** This do file creates the replication results for 

Asylum Destination Choice: What Makes some European Countries more Attractive than Others?, European Union Politics, 5 (2), 2004, pp. 155-180

Eric Neumayer (LSE)																			

Please report any errors to e.neumayer@lse.ac.uk

*/

use "Asylum EUP article.dta", replace

* Table 3
xi: quietly reg dyadasylumcorrpcshare l52dyadasylumcorrpcshare destinationrwpvote destinationleftgs dyadcolony dyadlanguage dyaddistance destinationunemployment  lndestinationgdp destinationgdpgrowth  destinationrecognition schengen if inc_highoecd==0, nocons robust cluster(originid)
su dyadasylumcorrpcshare l52dyadasylumcorrpcshare destinationrwpvote destinationleftgs dyadcolony dyadlanguage dyaddistance destinationunemployment  lndestinationgdp destinationgdpgrowth  destinationrecognition schengen destinationsocwelfare if e(sample)
corr dyadasylumcorrpcshare l52dyadasylumcorrpcshare destinationrwpvote destinationleftgs dyadcolony dyadlanguage dyaddistance destinationunemployment  lndestinationgdp destinationgdpgrowth  destinationrecognition schengen destinationsocwelfare if e(sample)

* Table 4
preserve
replace destination="AAAGermany" if destination=="Germany"
xi: areg dyadasylumcorrpcshare l52dyadasylumcorrpcshare destinationrwpvote destinationleftgs dyadcolony dyadlanguage dyaddistance destinationunemployment  lndestinationgdp destinationgdpgrowth  destinationrecognition schengen destinationsocwelfare i.destination if inc_highoecd==0, absorb(originid) robust cluster(originid)
restore
